strsq1="select * from qqfriend where "&txt1&" like '%"&txtcond1.Text&"%'" 有错误吗
来源:百度知道 编辑:UC知道 时间:2024/05/16 13:05:06
请帮帮我!
strsq1="select * from qqfriend where "&txt1&" like '%+"&txtcond1.Text&"+%'"
或是:
strsq1="select * from qqfriend where "&txt1&" like '"%"+"&txtcond1.Text&"+"%"'"
是VB脚本就没错
是其他的就要把&改+号
strsq1="select * from qqfriend where txt1 Like '%"& txtcond1.Text &"%'"
没错,VB
sql="select * from user"
sql="select * from问题
sql="select * from sg where
sql="select * from……"
sql = "Select top 5 * from news"
select * from table where name="&xiaochun&"
cmd.CommandText = "SELECT * FROM " & ComboBox1.SelectedText
sql="select * from 表名 where 字段名=' "& document.Form.Select.value" ' "
vb Data1.RecordSource = "select * from salary where 姓名 like " + s + " " * "
sql="select top 5 news.* from 问题